package com.itheima.service;



import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;

import java.util.List;

public interface FoodService {
    void add(List<Food> list);

    PageResult findAll(QueryPageBean queryPageBean);

    void addFood(Food food);

    List<String> findFoodById(Integer id);

    List<Food> findAllFoods(Integer id);


    List<Integer> findFoodIdsByOrderId(Integer id);


    void edit(Food food);

    void deleteById(Integer id);
}
